// 范围内字体大小
$fs-startIndex:$font-size-start;
@for $i from 0 through (($font-size-end - $font-size-start)/2){
    .fs-#{$fs-startIndex}{
        font-size: #{$fs-startIndex}px;
    }
    $fs-startIndex:$fs-startIndex+2;
}

// 文字大小
$font-size: (name:'mini', size: $font-mini),
(name:'small', size: $font-small),
(name:'default', size: $font-default),
(name:'meduim', size: $font-medium);
@for $i from 1 through length($font-size) {
    $item: nth($font-size, $i);
    $name: map-get($item, name);
    $size: map-get($item, size);
    .font-#{$name}{
        font-size: $size ;

        .icon{
            font-size: $size;
        }
    }
}

$text-align: (name:'left', location: left),
(name:'right', location: right),
(name:'center', location: center),
(name:'end', location: end),
(name:'start', location: start),
(name:'justify', location: justify);
@for $i from 1 through length($text-align) {
    $item: nth($text-align, $i);
    $name: map-get($item, name);
    $location: map-get($item, location);
    .text-align-#{$name}{
        text-align: $location !important;
    }
}

// 字体加粗
.font-bold {
    font-weight: bold;
}
// 文本换行
.word-break {
    word-break: break-all;
}
// 溢出省略
.word-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-line-through{
    text-decoration: line-through;
}

@font-face {
    font-family: FZCHAOZYTJW;
    src: url('../font/FZCHAOZYTJW.TTF');
}
@font-face {
    font-family: FZJCXS;
    src: url('../font/FZJCXS.TTF');
}
@font-face {
    font-family: FZSJ-LXQWTJW;
    src: url('../font/FZSJ-LXQWTJW.TTF');
}

$font-list:(FZSJ-LXQWTJW,FZJCXS,FZCHAOZYTJW);
@each $font in $font-list {
    .#{$font}{
        font-family: $font;
    }
}